package com.xysoft.model;

import java.util.Set;

public class User {
	private int id;
	private String username;
	private String password;
	private boolean enabled;
	
	private Set<UserAction> userActions;
	private Set<Role> roles;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public Set<Role> getRoles() {
		return roles;
	}
	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}
	public Set<UserAction> getUserActions() {
		return userActions;
	}
	public void setUserActions(Set<UserAction> userActions) {
		this.userActions = userActions;
	}
	public boolean isEnabled() {
		return enabled;
	}
	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}
	public void setPassword(String password) {
		this.password = password;
	}
}
